package springboot.learn.arcgis.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
@RequestMapping("/arcjs")
public class index {
    /**
     * 跳转到首页
     *
     * @return
     */
    @GetMapping("/index")
    public String toUpload() {
        return "/index";
    }

    @GetMapping("/baidumap")
    public String baidumap() {
        return "/baiduhtml/baidumap";
    }

    @GetMapping("/tdmapexe")
    public String tdmap() {
        return "/baiduhtml/tdmap";
    }
    @GetMapping("/gaodemap")
    public String gaodemap() {
        return "/baiduhtml/gaodemap";
    }

    @GetMapping("toggle")
    public String toggle() {
        return "/arcgisview/basemaptoggle";
    }

    @GetMapping("testjs")
    public String testjs() {
        return "/testjs";
    }

    @GetMapping("/416/base")
    public String base416() {
        return "/arcgis416/base";
    }

    @GetMapping("/416/mapdraw")
    public String mapdraw() {
        return "/arcgis416/mapdraw";
    }
    @GetMapping("/416/basemap")
    public String base416map() {
        return "/arcgis416/basemap";
    }

    @GetMapping("/416/customfeature")
    public String customfeature() {
        return "/arcgis416/customfeature";
    }


    @GetMapping("/416/imagelayer")
    public String image416map() {
        return "/arcgis416/imagelayer";
    }

    @GetMapping("/416/popuptemplate")
    public String popuptemplate() {
        return "/arcgis416/popuptemplate";
    }


    @GetMapping("/416/kmllayer")
    public String kmllayer() {
        return "/arcgis416/kmllayer";
    }

    @GetMapping("/416/csvlayer")
    public String csvlayer() {
        return "/arcgis416/csvlayer";
    }

    @GetMapping("/416/jsonlayer")
    public String jsonlayer() {
        return "/arcgis416/jsonlayer";
    }





}
